import { _decorator, Component, Label, LabelComponent, Node } from 'cc'
const { ccclass, property } = _decorator

@ccclass('LifeCountUI')
export class LifeCountUI extends Component {
  @property(Label)
  countLable: Label = null

  start() {}

  updateUI(count: number) {
    this.countLable.string = count.toString()
  }
}
